﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(BiMarket))]
    [ProtoContract]
    public class BiMarketDto
    {
        [ProtoMember(1)]
        public int id { get; set; }


        [ProtoMember(2)]
        public String trade_no { get; set; }


        [ProtoMember(3)]
        public int memberid { get; set; }


        [ProtoMember(4)]
        public String username { get; set; }

        [ProtoMember(5)]
        public Decimal price { get; set; }

        [ProtoMember(6)]
        public Decimal shuliang { get; set; }

        [ProtoMember(7)]
        public Decimal txamount { get; set; }


        [ProtoMember(8)]
        public Decimal sfnum { get; set; }

        [ProtoMember(9)]
        public Decimal handlingfee { get; set; }

        [ProtoMember(10)]
        public double rates { get; set; }

        [ProtoMember(11)]
        public Decimal cxf_fee { get; set; }

        [ProtoMember(12)]
        public double cxf_rates { get; set; }


        [ProtoMember(13)]
        public int buy_userid { get; set; }


        [ProtoMember(14)]
        public String buy_username { get; set; }



        [ProtoMember(15)]
        public DateTime addtime { get; set; }

        [ProtoMember(16)]
        public int status { get; set; }

        [ProtoMember(17)]
        public int txtype { get; set; }

        [ProtoMember(18)]
        public int pptype { get; set; }

        [ProtoMember(19)]
        public int type { get; set; }



        [ProtoMember(20)]
        public DateTime? locktime { get; set; }

        [ProtoMember(21)]
        public DateTime? paytime { get; set; }


        [ProtoMember(22)]
        public DateTime? checktime { get; set; }

        [ProtoMember(23)]
        public DateTime? canceltime { get; set; }

        [ProtoMember(24)]
        public DateTime? recive_time { get; set; }




        [ProtoMember(25)]
        public String remark { get; set; }

        [ProtoMember(26)]
        public string dkimg { get; set; }

        [ProtoMember(27)]
        public string ts_content { get; set; }

        [ProtoMember(28)]
        public int ts_status { get; set; }

        [ProtoMember(29)]
        public DateTime? ts_addtime { get; set; }

        [ProtoMember(30)]
        public DateTime? ts_passtime { get; set; }

        [ProtoMember(31)]
        public string ts_remark_admin { get; set; }


        [ProtoMember(32)]
        public String gathering { get; set; }

        [ProtoMember(33)]
        public String wxaccount { get; set; }

        [ProtoMember(34)]
        public String realname { get; set; }

        [ProtoMember(35)]
        public String bankname { get; set; }

        [ProtoMember(36)]
        public String bankaccount { get; set; }

        [ProtoMember(37)]
        public String account { get; set; }

        [ProtoMember(38)]
        public String zhihang { get; set; }

        [ProtoMember(39)]
        public int buy_orderid { get; set; }

        [ProtoMember(40)]
        public int sell_orderid { get; set; }


        [ProtoMember(41)]
        public Decimal kc_golds { get; set; }

        [ProtoMember(42)]
        public Decimal kc_golds_sc { get; set; }

        [ProtoMember(43)]
        public Decimal kc_servicejl { get; set; }

        [ProtoMember(44)]
        public Decimal kc_sgjl { get; set; }

        [ProtoMember(45)]
        public Decimal kc_pension { get; set; }

        [ProtoMember(46)]
        public CustomerDto MemberItem { get; set; }

    }
}
